﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Templates_ImageItem_Display : BaseUserControlTemplate
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        if (!IsPostBack)
        {
            if (AcmsMaster != null)
            {
                img.RenderWidth = AcmsMaster.GetMediaPanelWidth(this.GetType().Name);
                img.RenderHeight = AcmsMaster.GetMediaPanelHeight(this.GetType().Name);
            }
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
